import request from '@/utils/request'

export function selectCurrentEntryCondition(params) {
  return request({
    url: '/entrancemodel/selectCurrentEntryCondition',
    method: 'POST',
    data: params
  })
}

export function insertCondition(params) {
  return request({
    url: '/entrancemodel/insertCondition',
    method: 'POST',
    data: params
  })
}

export function deleteCondition(params) {
  return request({
    url: '/entrancemodel/deleteConditon',
    method: 'POST',
    data: params
  })
}

export function updateCondition(params) {
  return request({
    url: '/entrancemodel/updateConditon',
    method: 'POST',
    data: params
  })
}

export function selectform(params) {
  return request({
    url: '/entrancemodel/selectform',
    method: 'POST',
    data: params
  })
}

export function approveform(params) {
  return request({
    url: '/entrancemodel/approveform',
    method: 'POST',
    data: params
  })
}

export function getPicToken(params) {
  return request({
    url: '/entrymodel/getPicToken',
    method: 'POST',
    data: params
  })
}

export function delForm(params) {
  return request({
    url: '/entrancemodel/delForm',
    method: 'POST',
    data: params
  })
}
